package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class User {
    private Integer id;

    private String username;

    private String password;

    private Byte gender;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date birthday;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date lastLoginTime;

    private String lastLoginIp;

    private Byte userLevel;

    private String nickname;

    private String mobile;

    private String avatar="https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif";

    private String weixinOpenid="";

    private Byte status;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

}